﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MPic.Business.Enums
{
    public enum ErrorCode
    {
        [Description("参数有误")]
        ParameterError = -201,

        [Description("登录失败")]
        LoginFail = -202,

        [Description("注册失败")]
        RegisterFail = -203,

        [Description("发送失败")]
        SendFail = -204,

        [Description("上传失败")]
        UploadFail = -205,

        [Description("邮箱已被注册")]
        EmaiRegisted = -206,

        [Description("退登失败")]
        LogoutFail = -207,

        [Description("设置失败")]
        SettingFail = -208,

        [Description("设置密码失败")]
        SetPasswordFail = -209,

        [Description("系统繁忙,请稍后再试.")]
        BusySystem = -500
    }
}
